package com.spider.capsulation;

public class Test {
    public static void main(String[] args) {

        Student s = new Student();
        s.setName("诗白灯");
        s.setAge(19);
        s.setChinese(90);
        s.setMath(80);

        System.out.println(s.getName());

        s.getSum();
        s.getAvg();
    }
}
